import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import { createPinia } from "pinia";
// 创建pinia 实例
// const pinia = createPinia();
// let app = createApp(App);
// createApp(App).mount('#app');
// app.use(pinia)

// 创建pinia 实例
const pinia = createPinia();
const app = createApp(App);
// 挂载到 Vue 根实例上
app.use(pinia);
app.mount("#app");